package appapi.service;

import appapi.entity.mqtt.Devices;

import java.util.List;

/**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2023-07-05 10:33
 */
public interface DevicesService {
    void insertDevices(Devices devices);
    void updateDevices(Devices devices);
    void deleteDevices(Long devicesId);
    Devices getDevicesById(Long devicesId);
    List<Devices> getAll(Devices devices);
    void deleteDeviceByRegion(Long devicesId, String address);
}